<div id="login">
    <?= validation_errors(); ?>
    <?= form_open('register/new_user'); ?>
        <ul>
            <li><h3><?=$title?></h3></li>
            <li>
                <?= form_label('Email','email'); ?>
                <?= form_input('email'); ?>
            </li>
            <li>
                <?= form_label('Username','username'); ?>
                <?= form_input('username'); ?>
            </li>
            <li>
                <?= form_label('Password','password'); ?>
                <?= form_password('password'); ?>
            </li>
            <li>
                <?= form_label('Confirm Password','password_confirm'); ?>
                <?= form_password('password_confirm'); ?>
            </li>
            <li>
                <a href="<?= site_url("/register/new_user") ?>" class="button ui-state-default">Register</a>
                <a href="<?= site_url() ?>" class="button ui-state-default">Cancel</a>
            </li>
        </ul>
    </form>
</div>